package com.example.workshop.lesson7;

import com.example.workshop.lesson7.Filter;
import org.springframework.stereotype.Component;

@Component
public class ContentBasedFilter implements Filter {
    //输入推荐电影
    public String[] getRecommendations(String movie) {
    //返回推荐按电影
        return new String[] {"火星救援","星球大战","星际穿越"};
    }
}
